<div class="actions">
    <div ng-click="showPictureList()" class="action on-right">Back</div>
</div>

<form name="pictureEditForm" class="form-horizontal" role="form">
    <div class="form-group input">
        <label class="control-label col-sm-2" for="title">Title<span class="required">*</span></label>
        <div class="col-sm-5 controls">
            <input id="title" name="title" class="form-control"  ng-model="picture.title" required>
        </div>
    </div>
    <div class="form-group upload">
        <label class="control-label col-sm-2" >Images</label>
        <div class="col-sm-8 controls">
            <div ng-include src="'/cms/common/uploader.html'"></div>
        </div>
    </div>

    <div class="form-group button">
        <label class="control-label col-sm-2"></label>
        <div class="controls col-sm-5">
            <button ng-disabled="pictureEditForm.$invalid || noImage()" ng-click="savePicture()" class="btn btn-primary">Submit</button>&nbsp;&nbsp;
            <button ng-click="reset()" type="reset" class="btn">Reset</button>
        </div>
    </div>
</form>